package com.md.entity;

public class Student {
    private int id;
    private String userName;
    private String userPwd;
    private int userAge;
    private int userSex;


    public Student() {
    }

    public Student(int id, String userName, String userPwd, int userAge, int userSex) {
        this.id = id;
        this.userName = userName;
        this.userPwd = userPwd;
        this.userAge = userAge;
        this.userSex = userSex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }

    public int getUserSex() {
        return userSex;
    }

    public void setUserSex(int userSex) {
        this.userSex = userSex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userAge=" + userAge +
                ", userSex=" + userSex +
                '}';
    }
}